WP_Defender\Component\Security_Tweaks\Prevent_Enum_Users S

Total Complexity 31
Dependencies 2
Dependents 2
Total lines 242
Lines of code 125
Logical lines of code 43
Comment lines 80
Methods 12
Properties 3

Methods 12

Method Rating Maintainability Complexity Lines of code
block_rest_api_user_endpoint()
S
53 7 22
maybe_block()
S
56 5 17
shield_up()
S
58 4 15
oembed_author_filter()
S
62 3 13
block_user_provider_sitemap()
S
62 3 13
block_user_url_sitemap()
S
65 2 11
get_enabled_user_enums()
S
69 2 7
to_array()
S
62 1 11
check()
S
82 1 3
process()
S
82 1 3
revert()
S
82 1 3
set_enabled_user_enums()
S
70 1 7